package com.blockmeta.bbs.businesslibrary.arouter;

import android.content.Context;
import android.net.Uri;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.facade.service.PathReplaceService;
import com.blockmeta.bbs.businesslibrary.util.navigation.DeepLinkContext;

/**
 * @author AirThor
 * @date 2019/7/24.
 */
@Route(path = "/businesslibrary/DeepLinkService")
public class DeepLinkService implements PathReplaceService {
    @Override
    public String forString(String path) {
        return path;
    }

    @Override
    public Uri forUri(Uri uri) {
        return DeepLinkContext.getUri(uri);
    }

    @Override
    public void init(Context context) {

    }
}
